FROM python:3.9

WORKDIR /app

#COPY --exclude=maps . /app
COPY . /app

RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/

COPY maps /root/.local/share/cartopy/

EXPOSE 8000

CMD ["python", "main.py"]
